<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:if test="%{#session.authorisationError}">
	<div class="notice_fail">You do not have permission to view this page</div>
</s:if>

<s:if test="%{#session.logged_in == null}">
	<div class="form_header">
		<span class="form_header_text">Enter your login credentials</span>
	</div>
	<div class="login_container">
		<s:form action="loginCheck">
			<s:textfield name="username" label="Username" />
			<s:password name="password" label="Password" />
			<s:submit/>
		</s:form>	
	</div>
</s:if>
